import axios from '@/utils/request'

// 登录
export const login = (data) => axios.post('/login', data)
// 刷新token
export const refreshToken = (data) => axios.post('/token/refresh?refresh_token='+data.refresh_token)
// 发送验证码
export const sendCode = (data) => axios.post('/sendCode', data)

//忘记密码
export const forgetPassword = (data) => axios.post('/forgetPassword', data)

// 修改密码
export const updatePassword = (data) => axios.post('/updatePassword', data)




